package com.sline.OtherClass;

public class Demo3_System {
    public static void main(String[] args) {
        System.gc();                //垃圾回收
//        System.exit(0);       //退出java虚拟机
        System.currentTimeMillis(); // 获取当前时间的毫秒值

        int[] src = {11, 22, 33, 44, 55};
        int[] dist = new int[8];
        System.arraycopy(src, 1, dist, 0, src.length - 1);      // 数组拷贝
        for (int i = 0; i < dist.length; i++) {
            System.out.println(dist[i]);
        }
    }
}
